const factorial = num => num == 0 ? 1: n * factorial(num - 1)